package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 补票对象 oa_ticket_supplement
 *
 * @author ruoyi
 * @date 2025-05-20
 */
public class OaTicketSupplement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 补票白表id */
    @Excel(name = "补票白表id")
    private String supplementId;

    /** 原始金额 */
    @Excel(name = "原始金额")
    private BigDecimal originalAmount;

    /** 补票金额 */
    @Excel(name = "补票金额")
    private BigDecimal supplementAmount;

    /** 补票是否完成（0-未完成，1-已完成） */
    @Excel(name = "补票是否完成", readConverterExp = "0=-未完成，1-已完成")
    private Integer isCompleted;

    /** 回滚发票路径 */
    @Excel(name = "回滚发票路径")
    private String path;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setSupplementId(String supplementId)
    {
        this.supplementId = supplementId;
    }

    public String getSupplementId()
    {
        return supplementId;
    }

    public void setOriginalAmount(BigDecimal originalAmount)
    {
        this.originalAmount = originalAmount;
    }

    public BigDecimal getOriginalAmount()
    {
        return originalAmount;
    }

    public void setSupplementAmount(BigDecimal supplementAmount)
    {
        this.supplementAmount = supplementAmount;
    }

    public BigDecimal getSupplementAmount()
    {
        return supplementAmount;
    }

    public void setIsCompleted(Integer isCompleted)
    {
        this.isCompleted = isCompleted;
    }

    public Integer getIsCompleted()
    {
        return isCompleted;
    }

    public void setPath(String path)
    {
        this.path = path;
    }

    public String getPath()
    {
        return path;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("supplementId", getSupplementId())
                .append("originalAmount", getOriginalAmount())
                .append("supplementAmount", getSupplementAmount())
                .append("isCompleted", getIsCompleted())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("path", getPath())
                .toString();
    }
}
